<template>
 <div>

 </div>
</template>

<script setup>
import { ref, reactive, toRaw, watch, toRefs} from 'vue';
import { onLoad, onShow } from "@dcloudio/uni-app";

onLoad(()=>{
  uni.login({
    success (res) {
    if (res.code) {
      //发起网络请求
      console.log("login==>res",res);
    } else {
      console.log('登录失败！' + res.errMsg)
    }
  }
  })
})

</script>

<style lang='scss' scoped>
@import './index.scss';
</style>